var port = process.env.PORT || 3000;
var staticPathToday = '/20170208TUE';
var staticPath = '/public';

var path = require('path');
var express = require('express');
var app = express();

// app.use(express.static(path.join(__dirname,staticPath)));
// app.use('^/$',express.static(path.join(__dirname,staticPathToday)));
// app.use('*activity*',express.static(path.join(__dirname,staticPathToday)));

app.use(express.static(path.join(__dirname,'/test')));

app.get('/',function(req,res){
   res.render('index.html')
});


app.listen(port, function () {
    console.log('job started on port ' + port);
});